package org.wmq.commonutil.context;

import org.wmq.shopmodel.Entity.system.SystemUser;

public class SystemUserHolder {
    public static final ThreadLocal<SystemUser> context = new ThreadLocal<>();
    public static void set(SystemUser systemUser) {
        context.set(systemUser);
    }

    public static SystemUser get() {
        return context.get();
    }

    public static void remove() {
        context.remove();
    }
}

